import Gwc from '@/views/gwuche/gwc.vue'
import Home from '@/views/home/home.vue'
import Login from '@/views/login/login.vue'
import Shoplist from '@/views/shop/shoplist.vue'
import Xiang from '@/views/xiang/xiang.vue'
import { createRouter, createWebHistory } from 'vue-router'
 

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/login',
      name: 'login',
      component: Login,
    },
     {
      path: '/home',
      name: 'home',
      component: Home,
    },
    {
      path: '/gwc',
      name: 'gwc',
      component: Gwc,
    },
    {
      path: '/shoplist',
      name: 'shoplist',
      component: Shoplist,
    },
     {
      path: '/xiang',
      name: 'xaing',
      component: Xiang,
    },
  ],
})

export default router
